package com.students.service.impl;

import com.students.entity.Classes;
import com.students.mapper.ClassesMapper;
import com.students.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cd
 * @version 1.0
 * @date 2021/10/7 17:29
 */
@Service
public class ClassesServiceImpl implements ClassesService {
    @Autowired
    private ClassesMapper classesMapper;

    @Override
    public List<Classes> findAll() {
        return classesMapper.selectByExample(null);
    }
}
